home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
MacHack 1996
/
MacHack 1996.toast
/
Hacks
/
Hacks ’92
/
Text Capture FKEY
/
My_BeginUpdate.c
< prev
next >
Wrap
C/C++ Source or Header
|
1992-01-28
|
273b
|
21 lines
#include "defs.h"
#include <Traps.h>
#include "patching.h"
pascal void My_BeginUpDate( void )
{
WindowPtr the_window;
asm {
HEAD_PATCH_HEADER( BeginUpDate )
move.L 8(A6), the_window
}
if (the_window == front)
Begin_copy();
asm {
HEAD_PATCH_FINISH
}
}